/*
 * Copyright © 2016 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
@import '../../styles/variables.scss';
$module-color-lightgrey: lightgray;

.configure-pane {
  flex: 0.5;
  display: flex;
  flex-direction: column;
  margin: 0 10px 10px;

  > span {
    font-size: 18px;
    font-weight: 600;
    background-color: transparent;
  }

  .configure-pane-container {
    border: solid 1px $module-color-lightgrey;
    background-color: $cdap-white;
    overflow: auto;
    height: 220px;
    display: flex;
    padding: 10px 0;
    flex-wrap: wrap;
    position: relative;

    .preferences-saved-message {
      width: 100%;
      position: absolute;
      top: 0;
      height: 20px;
      font-size: 12px;
      background-color: $success-message-bg;

      span {
        line-height: 20px;

        &:first-of-type {
          float: left;
          margin-left: 15px;
        }
        &.fa-times {
          float: right;
          margin-right: 10px;
          cursor: pointer;
        }
      }
    }

    .preferences-saved-wrench {
      color: $success-message-bg;
    }
  }
}
